import java.util.ArrayList;
import java.util.List;

/**
 * @author zhangxin
 * @date 2020/10/23
 */
public class StackTest {


    public static void main(String[] args) {
//        reverse(0);

        List<Object> list = new ArrayList<>();

        while (true) {
            list.add(new Object());
        }
    }


    public static void reverse(int i) {
        i++;
        reverse(i);
    }
}
